#ifndef CAPPSTATEGETNAME_H_INCLUDED
    #define CAPPSTATEGETNAME_H_INCLUDED

#include "CAppState.h"
#include "CSurface.h"
#include "CFont.h"
#include "CScore.h"
#include "CField.h"

#include <string>

class CAppStateGetName : public CAppState {
    private:
        static CAppStateGetName Instance;

        SDL_Surface*    Surf_BG;
        SDL_Surface*    SurfBlack;
        SDL_Surface*    Surf_Message;
        TTF_Font*       Font;

        int             StartTime;

    private:
        std::string     Name;

    private:
        CAppStateGetName();

    public:
        void OnKeyDown(SDLKey sym, SDLMod mod, Uint16 unicode);

    public:
        void OnActivate();

        void OnDeactivate();

        void OnLoop();

        void OnRender(SDL_Surface* Surf_Display);

    public:
        static CAppStateGetName* GetInstance();
};


#endif // CAPPSTATEGETNAME_H_INCLUDED
